home *** CD-ROM | disk | FTP | other *** search
/ Download Now 8 / Download Now V8.iso / Program / InternetTools / ApacheWebServer1.3.6 / apache_1_3_6_win32.exe / _SETUP.1 / engine.ih < prev    next >
Encoding:
Text File  |  1998-07-13  |  1.5 KB  |  38 lines

  1. /* DON'T EVEN THINK ABOUT EDITING THIS, go see regex/Makefile,
  2.  * search for mkh */
  3. /* ========= begin header generated by ./mkh ========= */
  4. #ifdef __cplusplus
  5. extern "C" {
  6. #endif
  7.  
  8. /* === engine.c === */
  9. static int matcher(register struct re_guts *g, char *string, size_t nmatch, regmatch_t pmatch[], int eflags);
  10. static char *dissect(register struct match *m, char *start, char *stop, sopno startst, sopno stopst);
  11. static char *backref(register struct match *m, char *start, char *stop, sopno startst, sopno stopst, sopno lev);
  12. static char *fast(register struct match *m, char *start, char *stop, sopno startst, sopno stopst);
  13. static char *slow(register struct match *m, char *start, char *stop, sopno startst, sopno stopst);
  14. static states step(register struct re_guts *g, sopno start, sopno stop, register states bef, int ch, register states aft);
  15. #define    BOL    (OUT+1)
  16. #define    EOL    (BOL+1)
  17. #define    BOLEOL    (BOL+2)
  18. #define    NOTHING    (BOL+3)
  19. #define    BOW    (BOL+4)
  20. #define    EOW    (BOL+5)
  21. #define    CODEMAX    (BOL+5)        /* highest code used */
  22. #define    NONCHAR(c)    ((c) > CHAR_MAX)
  23. #define    NNONCHAR    (CODEMAX-CHAR_MAX)
  24. #ifdef REDEBUG
  25. static void print(struct match *m, char *caption, states st, int ch, FILE *d);
  26. #endif
  27. #ifdef REDEBUG
  28. static void at(struct match *m, char *title, char *start, char *stop, sopno startst, sopno stopst);
  29. #endif
  30. #ifdef REDEBUG
  31. static char *pchar(int ch);
  32. #endif
  33.  
  34. #ifdef __cplusplus
  35. }
  36. #endif
  37. /* ========= end header generated by ./mkh ========= */
  38.